package utils

import (
	"github.com/sirupsen/logrus"
)

var Logger = logrus.New()

var (
	LogerDEBUG = Logger.Debug
	LoggerINFO = Logger.Info
	LoggerWARN = Logger.Warn
)

func init() {
	Logger.SetFormatter(&logrus.TextFormatter{
		ForceColors:               true,
		EnvironmentOverrideColors: true,
		FullTimestamp:             true,
		TimestampFormat:           "2006-01-02 15:04:05",
	})
	Logger.SetLevel(logrus.DebugLevel)
}
